package com.usian.config;

import com.usian.User1;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DefConfiguration {

    @Bean
    @ConfigurationProperties(prefix = "user1")
    public User1 user1(){
        return new User1();
    }

}
